body {
    background: url("../images/bg.png");
    /*background-attachment: fixed;*/
    display: flex!important;
    flex-direction: column!important;
    height: 100% !important;
}
html{
    height: 100%!important;
}


header{
    /* 我们希望 header 采用固定的高度，只占用必须的空间 */
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto!important;
}

.main-content{
    /* 将 flex-grow 设置为1，该元素会占用全部可使用空间
       而其他元素该属性值为0，因此不会得到多余的空间*/
    /* 1 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 1 0 auto!important;
}

footer{
    /* 和 header 一样，footer 也采用固定高度*/
    /* 0 flex-grow, 0 flex-shrink, auto flex-basis */
    flex: 0 0 auto!important;
}


.m-black{
    color: #333 !important;
}

.m-teal{
    color: #00B5AD !important;
}
/*button*/

.m-padded-m {
    padding: 0.1em !important;
}

.m-padded-mini {
    padding: 0.2em !important;
}
.m-padded-large {
    padding: 0.4em !important;
}
.m-padded-tb-mini {
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}

.m-padded-tb-tiny {
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}

.m-padded-tb-small {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}
.m-padded-tb-big {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}

.m-padded-tb-large {
    padding-top: 3em !important;
    padding-bottom: 3em !important;
}

.m-padded-tb-max {
    padding-top: 4em !important;
    padding-bottom: 4em !important;
}


.m-padded-tb-massive {
    padding-top: 6em !important;
    padding-bottom: 6em !important;
}


.m-padded-lr-responsive{
    padding-left: 3em!important;
    padding-right: 3em!important;

}


/* 字体*/
.m-text-thin{
    font-weight: 400!important;
}
/*字间距*/
.m-text-spaced{
    letter-spacing: 1px!important;
}
/*行间距*/
.m-text-lined{
    line-height: 1.8!important;
}

.m-text{
    font-weight: 400!important;
    letter-spacing: 1px!important;
    line-height: 1.8!important;
}

/*透明度*/
.m-opacity-mini {
    opacity: 0.8!important;
}
.m-opacity-tiny {
    opacity: 0.65!important;
}
/*display*/
.m-inline-block{
    display: inline-block !important;

}
/*container*/
.m-container{
    max-width: 72em !important;
    margin: auto !important;
}

.m-container-small{
    max-width: 60em !important;
    margin: auto !important;
}


.m-margin-tb-mini{
    margin-top: 0.3em !important;
    margin-bottom: 0.3em !important;
}

.m-margin-tb-tiny{
    margin-top: 0.4em !important;
    margin-bottom: 0.4em !important;
}

.m-margin-top-small{
    margin-top: 0.5em !important;
}
.m-margin-top-big{
    margin-top: 1em !important;
}
.m-margin-top-large{
    margin-top: 2em !important;
}

.m-margin-bottom-small{
    margin-bottom: 0.5em !important;
}

.m-black{
    color: black!important;
}

.m-right-top{
    position: absolute;
    top: 0;
    right: 0;
}

.m-mobile-show{
    display: none!important;
}

/*shadow*/
.m-shadow-small{
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.2)!important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2)!important;

}

/*positon*/
.m-fixed{
    position: fixed!important;
    z-index: 1!important; /*显示优先级*/
}
.m-right-bottom{
    bottom: 0 !important;
    right: 0 !important;
}

@media screen and (max-width: 768px){
    .m-mobile-hide{
        display: none!important;
    }
    .m-mobile-show{
        display: block!important;
    }
    .m-padded-lr-responsive{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .m-mobile-lr-clear{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .m-mobile-wide{
        width: 100% !important;
    }
}